



function gettog(){
	var tlist={}
	$.ajax({
		url:"http://114.55.145.243:8080/liantu/TogetherServlet/getTogetherAll",
		data:{
		"pageIndex": PaginJson.pageIndex,
		"pageSize": 4
	},
		async:false,
		
		xhrFields: {
			withCredentials: true
		},
		success:function(data){
			if(data.data){
				tlist=data.data
			}
			else
			alert(data.msg)
		},
		dataType:"json"
		
	})
	return tlist
}

function getTongCount(){
	var tlist={}
	$.ajax({
		url:"http://114.55.145.243:8080/liantu/TogetherServlet/togetherCount",
		async:false,
		xhrFields: {
			withCredentials: true
		},
		success:function(data){
			if(data.data){
				tlist=data.data
			}
			else
			alert(data.msg)
		},
		dataType:"json"
		
	})
	return tlist
}

function indexgettog(){
	var tlist={}
	$.ajax({
		url:"http://114.55.145.243:8080/liantu/TogetherServlet/getTogetherAll",
		data:{
		"pageIndex": 1,
		"pageSize": 3
	},
		async:false,
		
		xhrFields: {
			withCredentials: true
		},
		success:function(data){
			if(data.data){
				tlist=data.data
			}
			else
			alert(data.msg)
		},
		dataType:"json"
		
	})
	return tlist
}